class VolunteerHouseItem {
  late String id;
  late double long;
  late double lat;
  late String name;
  late String address;
  VolunteerHouseItem(Map<String, dynamic> json) {
    id = "${json["id"]}";
    long = double.parse("${json["long"]}");
    lat = double.parse("${json["lat"]}");
    name = "${json["name"]}";
    address = "${json["address"]}";
  }
  Map<String, dynamic> get json {
    return Map<String, dynamic>()
      ..["id"] = id
      ..["long"] = long
      ..["lat"] = lat
      ..["name"] = name
      ..["address"] = address;
  }
}

class VolunteerNewsItem {
  late String id;
  late String title;
  late String cover;
  late double createTime;
  VolunteerNewsItem(Map<String, dynamic> json) {
    id = "${json["id"]}";
    title = "${json["title"]}";
    cover = "${json["cover"]}";
    createTime = double.parse("${json["create_time"]}");
  }
  Map<String, dynamic> get json {
    return Map<String, dynamic>()
      ..["id"] = id
      ..["title"] = title
      ..["cover"] = cover
      ..["create_time"] = createTime;
  }
}
